import 'package:finance_app/generated/json/base/json_convert_content.dart';
import 'package:finance_app/generated/json/base/json_field.dart';

class SettingAppEntity with JsonConvert<SettingAppEntity> {
  @JSONField(name: "country_code")
  List<SettingAppCountryCode> countryCode;
  @JSONField(name: "business_type")
  List<SettingAppBusinessType> businessType;
  @JSONField(name: "industry_type")
  List<SettingAppIndustryType> industryType;
  @JSONField(name: "ios_status")
  int iosStatus;
  @JSONField(name: "ios_register_status")
  int iosRegisterStatus;
  @JSONField(name: "android_status")
  int androidStatus;
  @JSONField(name: "android_register_status")
  int androidRegisterStatus;
}

class SettingAppCountryCode with JsonConvert<SettingAppCountryCode> {
  @JSONField(name: "country_code")
  String countryCode;
  String name;
  @JSONField(name: "is_favorite")
  int isFavorite;
  String group;
}

class SettingAppBusinessType with JsonConvert<SettingAppBusinessType> {
  @JSONField(name: "data_type")
  String dataType;
  int id;
  String key;
  String name;
}

class SettingAppIndustryType with JsonConvert<SettingAppIndustryType> {
  @JSONField(name: "data_type")
  String dataType;
  int id;
  String key;
  String name;
  @JSONField(name: "business_type")
  String businessType;
}
